package com.itheima.tlias84.service;

import com.itheima.tlias84.controller.po.InsertDeptParam;
import com.itheima.tlias84.controller.po.UpdateDeptParam;
import com.itheima.tlias84.service.dto.SelectAllDeptDTO;

import java.util.List;

public interface DeptService {

    List<SelectAllDeptDTO> selectAll();

    SelectAllDeptDTO selectOne(Integer id);

    int insertDept(InsertDeptParam param);

    int batchInsertDept(List<InsertDeptParam> list);

    int deleteDeptById(Integer id);

    int batchDeleteDept(List<Integer> idList);

    int updateDept(UpdateDeptParam param);
}
